srcdir       = @srcdir@
top_builddir = @top_builddir@
top_srcdir   = @top_srcdir@

include ../Makefile.ext

SCM_CATEGORY = gauche

LIBFILES = gauche--syslog.$(SOEXT)
SCMFILES = syslog.sci

OBJECTS = gauche--syslog.$(OBJEXT)

GENERATED = Makefile
XCLEANFILES = gauche--syslog.c $(SCMFILES)

all : $(LIBFILES)

gauche--syslog.$(SOEXT) : $(OBJECTS)
	$(MODLINK) gauche--syslog.$(SOEXT) $(OBJECTS) $(EXT_LIBGAUCHE) $(LIBS)

gauche--syslog.c syslog.sci : syslog.scm
	$(PRECOMP) -e -P -o gauche--syslog $(srcdir)/syslog.scm

install : install-std


